﻿package peace.graphic.tween {
import flash.events.Event;


public class TweenEvent extends Event {
    public static const PLAY:String = "playOfAnimation";

    public static const END:String = "endOfAnimation";
    public static const CHANGE:String = "changeAnimation";

    public var frame:int;

    public function TweenEvent(type:String, frame:int, bubbles:Boolean = false, cancelable:Boolean = false) {
        super(type, bubbles, cancelable);
        this.frame = frame;
    }

    override public function clone():Event {
        return new TweenEvent(type, frame, bubbles, cancelable);
    }
}

}
